package com.example.shoppingmallspringboot.service;

import com.example.shoppingmallspringboot.entity.Comment;
import com.example.shoppingmallspringboot.util.FwResult;
import java.util.List;

public interface CommentService {
    // 获取商品的评论
    FwResult getGoodsComment(Integer goodsId);
    
    // 用户评论商品
    FwResult UserComment(List<Comment> commentList);
    
    // 获取用户的评论
    FwResult getUserComments(Integer userId);
    
    // 删除评论
    FwResult deleteComment(Integer commentId);
}
